#include <iostream>
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc.hpp>
#include <boost/timer.hpp>
using namespace std;
using namespace boost;
int main() {
    string image_path = "Pictrues/btree.png";
    timer t;
    cv::Mat img = cv::imread(image_path);
    double time = t.elapsed();
    double min_acc = t.elapsed_min();
    double max_acc = t.elapsed_max();
    cout<<"读取图像花费时间:"<<time<<"s\n";
    cout<<"最小时间精度:"<<min_acc<<"s\n";
    cout<<"最大时间达到:"<<max_acc<<"s\n";
    return 0;
}